import threading
import time

def sing(num):
    for x in range(num):
        print("正在唱歌：",x)
        time.sleep(1)

def dance(num):
    for i in range(num):
        print("正在跳舞：",i)
        time.sleep(1)

if __name__ == "__main__":
    sing_thread = threading.Thread(target=sing,args=(3,))
    dance_thread = threading.Thread(target=dance,kwargs={'num':3})
    sing_thread.start()
    dance_thread.start()
